get (someone's) priorities straight

Translations
remettre ses priorités en ordre
Definitions
To organize or clarify what is most important to someone, often implying that the person needs to focus on what truly matters instead of less important things.